package myHomework;

import java.util.Scanner;

public class Work22 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int line = scanner.nextInt();
        int i;
        for(i=0;i<line;i++){
            for(int j=0;j<line-i;j++){
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
